package ooday01;

public class Teacher extends Person {
    int salary;
    Teacher(){}
    Teacher(String name, int age, String address,int salary) {
        super(name, age, address);
        this.salary = salary;
    }
}
